global.frame_finish_timestamp = true;
for (let k = 0; k < 5; k++)
- yield Scripting.createTestWindow(640, 480,
- { maximized: true });
+ yield Scripting.createTestWindow({ maximized: true });
yield Scripting.waitTestWindows();
yield Scripting.sleep(1000);
yield Scripting.destroyTestWindows();
Main.overview.hide();
- yield Scripting.createTestWindow(640, 480,
- { maximized: true,
+ yield Scripting.createTestWindow({ maximized: true,
redraws: true});
yield Scripting.waitTestWindows();
* because of the normal X asynchronous mapping process, to actually wait
* until the window has been mapped and exposed, use waitTestWindows().
*/
-function createTestWindow(width, height, params) {
+function createTestWindow(params) {
params = Params.parse(params, { width: 640,
height: 480,
alpha: false,